<!DOCTYPE html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>机构列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
    <link rel="stylesheet" href="../../../assets/css/font.css">
    <link rel="stylesheet" href="../../../assets/css/xadmin.css">
    <style type="text/css">
        .downpanel{
            padding: 0;
            z-index: auto;
        }
        .downpanel .layui-select-title{
            padding-right:30px;
            padding-left:10px;
        }
        .downpanel dl{
            color: #000;
            top: 30px;
            font-size: 14px;
        }
        .downpanel .layui-select-title i{
            border-top-color:#fff;
        }
    </style>
</head>
<body>
<div class="x-nav">
      <span class="layui-breadcrumb">
          <a href="../dashboard/welcome.html">首页</a>
          <a><cite>系统管理</cite></a>
          <a><cite>机构部门</cite></a>
      </span>
    <a class="layui-btn layui-btn-sm layui-btn-normal" style="line-height:1.6em;margin-top:4px;float:right"
       href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
</div>

<div class="x-body">
    <div class="layui-row">
        <div class="layui-col-xs2">
            <div id="deptTree"  class="ztree" style="width: 100%; height: 100%; overflow: auto;">&nbsp;</div>
        </div>
        <div class="layui-col-xs10">
            <form class="layui-form " id="searchFrm">
                <div class="layui-inline " >
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input "  name="deptName" placeholder="机构名称" />
                    </div>
                    <button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit="" lay-filter="searchFilter">
                        <i class="layui-icon layui-icon-search"></i>搜索
                    </button>
                </div>
                <div class="layui-inline x-search-btn-rigth" >
                    <div class="layui-inline layui-btn-group" >
                       <!-- <a class="layui-btn layui-btn-sm layui-btn-normal layui-icon layui-icon-add-circle-fine " style="float:right" id="add" hasPermission="sys:dept:save">&nbsp;添加</a>-->
                        <button type="button" style="z-index: 99999" class="layui-btn layui-btn-sm  layui-btn-normal layui-unselect layui-form-select downpanel" id="BatchBtn">
                            <div class="layui-select-title">
                                <a class="layui-btn layui-btn-normal  layui-btn-sm layui-icon layui-icon-add-circle-fine " style="float:right" id="add">&nbsp;添加</a>
                                <i class="layui-edge"></i>
                            </div>
                            <dl class="layui-anim layui-anim-upbit" >
                                <dd id="addUser" title="添加用户"><i class="layui-icon layui-icon-friends"></i> 添加用户</dd>
                                <dd id="addDept" title="添加部门"><i class="layui-icon layui-icon-group"></i> 添加部门</dd>
                            </dl>
                        </button>

                    </div>
                    <div class="layui-inline" >
                        <a class="layui-btn layui-btn-sm layui-btn-danger layui-icon layui-icon-delete " style="float:right" id="del" hasPermission="sys:dept:delete"  >删除</a>
                    </div>
                </div>
            </form>
            <table class="layui-hide" id="deptTable" lay-filter="deptTableFilter"></table>
        </div>
    </div>
</div>
<script type="text/javascript" src="../../../assets/js/lib.js"></script>
<script type="text/javascript" src="deptList.js"></script>
</body>
</html>
